package com.hmall.pay;

import com.hmall.api.config.RequestInterCeptor;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * TODO
 *
 * @Author katana
 * @Date 2025/6/17 21:23
 */
@SpringBootApplication(scanBasePackages = {"com.hmall.pay", "com.hmall.api"})
@MapperScan("com.hmall.pay.mapper")
@EnableFeignClients(basePackages = "com.hmall.api",defaultConfiguration = RequestInterCeptor.class)
public class PayServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayServiceApplication.class, args);
    }
}
